﻿
namespace DotNetDAL.Entity.DbStruct
{
    /// <summary>
    /// 数据库结构之列
    /// </summary>
    public class DbStructColumn
    {
        ///// <summary>
        ///// 表名
        ///// </summary>
        //public string table_name { get; set; }
        /// <summary>
        /// 字段名
        /// </summary>
        public string column_name { get; set; }
        /// <summary>
        /// 字段数据类型
        /// </summary>
        public string column_data_type { get; set; }
        /// <summary>
        /// 字段数据类型文本（包含长度）
        /// </summary>
        public string column_data_type_text { get; set; }
        ///// <summary>
        ///// 数据长度
        ///// </summary>
        //public int column_data_length { get; set; }
        /// <summary>
        /// 是否允许为空。1：是；0：否
        /// </summary>
        public int isnull_able { get; set; }
        /// <summary>
        /// 是否主键字段。1：是；0：否
        /// </summary>
        public int is_primary_key { get; set; }
        /// <summary>
        /// 默认值
        /// </summary>
        public string default_value { get; set; }
        /// <summary>
        /// 说明
        /// </summary>
        public string column_description { get; set; }

        /*
         
        table_name
column_name
column_data_type
column_data_length
column_data_type_text
isnull_able
is_primary_key
default_value
column_description







         */




    }
}
